home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cchh01.arc / ARC.H next >
C/C++ Source or Header  |  1986-03-14  |  2KB  |  42 lines

  1. /*  ARC - Archive utility - ARC Header
  2.  
  3.     Version 2.05, created on 05/01/85 at 22:22:16
  4.  
  5. (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
  6.  
  7.     By:  Thom Henderson
  8.  
  9.     Description: 
  10.          This is the header file for the ARC archive utility.  It defines
  11.          global parameters and the references to the external data.
  12.  
  13.  
  14.     Language:
  15.          Computer Innovations Optimizing C86
  16. */
  17.  
  18.  
  19. struct heads                           /* archive entry header format */
  20. {   char name[13];                /* file name */
  21.     long size;                         /* size of file, in bytes */
  22.     int date;                          /* creation date */
  23.     int time;                          /* creation time */
  24.     int crc;                           /* cyclic redundancy check */
  25.     long length;                       /* true file length */
  26. }   ;
  27.  
  28. extern int keepbak;             /* true if saving the old archive */
  29. extern int warn;                /* true to print warnings */
  30. extern int note;                /* true to print comments */
  31. extern int bose;                /* true to be verbose */
  32. extern int kludge;              /* true for nosqueeze kludge */
  33.  
  34. extern char hdrver;                      /* header version */
  35.  
  36. extern FILE *arc;                        /* the new archive */
  37. extern FILE *bak;                        /* the old archive */
  38. extern char arcname[100];           /* storage for archive name */
  39. extern char bakname[100];           /* storage for backup name */
  40. extern int arcdate;             /* archive date stamp */
  41. extern int arctime;             /* archive time stamp */
  42.